package com.sankuai.inf.leaf.segment.dao;

import com.sankuai.inf.leaf.segment.model.LeafAllocEntity;

import java.util.List;

/**
 * @author final
 * @description
 * @date 2019-09-11 15:23
 */
public interface LeafAllocDao {
    /**
     * 新增用户
     * @param leafAllocEntity leafAllocEntity
     */
    void insertLeafAllocEntity(LeafAllocEntity leafAllocEntity);

    /**
     * 用户列表
     * @return 用户列表
     */
    List<LeafAllocEntity> listLeafAllocEntity();

    /**
     * 修改用户
     * @param leafAllocEntity leafAllocEntity
     */
    void updateLeafAllocEntity(LeafAllocEntity leafAllocEntity);

    LeafAllocEntity getLeafAllocEntityByBizTag(String bizTag);
}
